package com.dragee.entity;

import lombok.Data;

/**
 * 文本消息
 *
 * @author tys on 9/18/20
 */
@Data
public class TextMsg extends BaseMsg {

    private String Content;//文本消息内容
    private String MsgId;//消息id，64位整型

    public TextMsg(){
        super();
    }

    public TextMsg(String toUserName, String fromUserName,
                       long createTime, String msgType, String content, String msgId) {
        super();
        ToUserName = toUserName;
        FromUserName = fromUserName;
        CreateTime = createTime;
        MsgType = msgType;
        Content = content;
        MsgId = msgId;
    }
}
